import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './utils/element-ui'
import './styles/css/index.scss'
import VueLazyload from 'vue-lazyload' 
import ba from 'vue-ba'

Vue.use(ba, "852c1cb98bc5259a8873fa572aa6f396");
Vue.use(ba, { siteId: "852c1cb98bc5259a8873fa572aa6f396" });
// var _hmt = _hmt || [];
// window._hmt = _hmt; // 修改为window 全局变量
// (function () {
//   var hm = document.createElement("script");
//   hm.src = "https://hm.baidu.com/hm.js?" + 百度站点id;
//   var s = document.getElementsByTagName("script")[0];
//   s.parentNode.insertBefore(hm, s);
// })();



Vue.config.productionTip = false


Vue.use(VueLazyload, {
  preLoad: 1.3,
  attempt: 1
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
